package ee.maoinvest.backend.model.dao;

import java.util.List;

import ee.maoinvest.backend.model.data.ElectricityMeter;
import ee.maoinvest.backend.model.data.Substation;

public interface SubstationDAO 
{
	//basic CRUD
	public int insertSubstation(Substation substation);
	public Substation getSubstationByID(int substationID);
	public List<Substation> getAllSubstations();
	public int updateSubstation(Substation updatedSubstation);
	public int deleteSubstation(int substationID);
	
	public List<Substation> getAllSubstationsThatAreNotWrittenOff();
	public int setIsSubstationInUse(int substationID, boolean isInUse);
}
